Xbasic

OBJECT.QUICK_SEARCHEXCL Function

Syntax

Record_Count as N = .Quick_searchexcl()

Arguments

Record_Count

The number of records found by the query.

Description

Finds all records that do not match the value in the current record.

The <OBJECT>.QUICK_SEARCHEXCL() method applies to:

Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)

The <OBJECT>.QUICK_SEARCHEXCL() method performs the opposite action as the Quick Filter command and finds all records that do NOT match the value in the current control.

Example

With the cursor on the lastname field of the Customer form of AlphaSports, the following script does a quick search excluding using its current value.

dim ptr as P
ptr = form.view("Customer Information")
ptr.Quick_Searchexcl()

Limitations

Desktop applications only.

See Also